/* 血压自动测量设置页面样式 */



.device-page {
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
}

.header {
  padding-bottom: 20rpx;
  padding-top: calc(90rpx + env(safe-area-inset-top));
  padding-left: 24rpx;
  padding-right: 24rpx;
  position: relative;
}

.header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 60rpx;
}

.container {
  padding: 32rpx 32rpx 120rpx;
  display: flex;
  flex-direction: column;
}

/* 顶部提示信息 */
.tip-info {
  display: flex;
  align-items: center;
  background: #FFF8EA;
  padding: 24rpx;
  margin: 20rpx 0;
}

.tip-text {
  margin-left: 16rpx;
  font-size: 28rpx;
  color: #FF9500;
  line-height: 1.4;
}

/* 设置组 */
.setting-group {
  border-radius: 14rpx;
  width: 100%;
  overflow: hidden;
  margin-bottom: 32rpx;
  display: flex;
  flex-direction: column;
}

.setting-cell {
  background: #fff !important;
  padding: 32rpx 40rpx !important;
}

.cell-title {
  font-size: 28rpx;
  font-weight: 500;
  color: #333 !important;
  font-style: normal;
}

.cell-label {
  font-size: 24rpx;
  color: #999 !important;
  margin-top: 8rpx;
  font-style: normal;
}

.cell-value {
  font-size: 28rpx;
  color: #333 !important;
  font-style: normal;
}


.cell-value.disabled {
  color: #ccc !important;
}

/* 夜间测量时段 */
.time-section {
  background: #fff;
  padding: 40rpx;
  width: auto;
  overflow: hidden;
  box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 28rpx !important;
  font-weight: 500;
  color: #333;
  margin-bottom: 32rpx;
}

.time-picker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.time-item {
  flex: 1;
  text-align: center;
  padding: 20rpx;
  cursor: pointer;
  background-color: #F6F8FA;
  border-radius: 40rpx;
}

.time-value {
  font-size: 28rpx !important;
  color: #333;
}

.time-value.disabled {
  color: #ccc;
}

.time-value.placeholder {
  color: #999;
  font-weight: normal;
  font-style: normal;
}

.time-separator {
  font-size: 28rpx;
  color: #ccc;
  margin: 0 40rpx;
}

/* 底部说明信息 */
.info-section {
  display: flex;
  align-items: flex-start;
}

.info-text {
  margin-left: 16rpx;
  font-size: 24rpx;
  color: #999;
  line-height: 1.5;
}

/* 保存按钮 */
.button-container {
  position: fixed;
  bottom: 60rpx;
  left: 32rpx;
  right: 32rpx;
  z-index: 100;
}

.save-button {
  height: 96rpx !important;
  background: #0093D2 !important;
  border: none !important;
  box-shadow: 0 8rpx 24rpx rgba(0, 122, 255, 0.3) !important;
  font-size: 28rpx !important;
  font-weight: 500 !important;
}

/* 占位符样式 */
.cell-value.placeholder {
  color: #ccc !important;
  font-style: normal;
}

/* 禁用状态下的按钮 */
.save-button[disabled] {
  background: #ccc !important;
  box-shadow: none !important;
}

/* 时间选择区域hover效果 */
.time-item:active {
  background-color: rgba(0, 122, 255, 0.1);
  border-radius: 12rpx;
}

/* 响应式适配 */
@media (max-width: 375px) {
  .time-value {
    font-size: 40rpx;
  }

  .section-title {
    font-size: 30rpx;
  }
}
